package com.yyds.yygh.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yyds.yygh.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DictService extends IService<Dict> {
    //查询层侧结构数据
    public List<Dict> findChlidData(Long id);
    //导出数据
    public void exportData(HttpServletResponse httpServletResponse);
    //导入数据
    public void importDictData(MultipartFile file);
    public String getNameByParentDictCodeAndValue(String parentDictCode , String value);

    List<Dict> findByDictCode(String dictCode);
}
